#include "databevent.h"

#include <iostream>

namespace Lab1
{
    DataBEvent::DataBEvent( std::vector < int > array )
        : data( array )
    {
    }

    DataBEvent::~DataBEvent()
    {
    }


    Event::eType DataBEvent::getType() const
    {
        return DATA_DEVICE_B;
    }

    Event::eSource DataBEvent::getSource() const
    {
        return DEVICE_B;
    }
    std::vector < int > DataBEvent::getData() const
    {
        return data;
    }
}

